package com.sunwayworld.basemodule.coredata.test.bean;

import com.sunwayworld.framework.data.annotation.Id;
import com.sunwayworld.framework.data.annotation.Table;
import com.sunwayworld.framework.data.annotation.Transient;
import com.sunwayworld.framework.support.domain.Insertable;
import com.sunwayworld.framework.support.domain.AbstractInsertable;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * 工序
 * 
 * @author hul@sunwayworld.com
 * @date 2023-01-06
 */
@Table("T_LIMS_TEST")
public class LimsTestBean extends AbstractInsertable<Long> implements Insertable<Long> {

    @Transient
    private static final long serialVersionUID = -82566196618711043L;

    @Id
    private Long id;// 主键
    private String testCode;// 工序编码
    private String testName;// 工序名称
    private String testCatCode;// 工序类别编码
    private String personId;// 调度人id
    private String personName;// 调度人名称
    private String cycleHours;// 周期
    private String testerId;// 测试人id
    private String testerName;// 测试人名称
    private String createdById;// 制单人编码
    private String createdByName;// 制单人名称
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTime;// 制单时间
    private String createdByOrgId;// 制单人单位编码
    private String createdByOrgName;// 制单人单位名称

    private String abnormalHandlePerson;// 异常处理人员
    private String abnormalHandlePersonId;// 异常处理人员ID

    public String getAbnormalHandlePerson() {
        return abnormalHandlePerson;
    }

    public void setAbnormalHandlePerson(String abnormalHandlePerson) {
        this.abnormalHandlePerson = abnormalHandlePerson;
    }

    public String getAbnormalHandlePersonId() {
        return abnormalHandlePersonId;
    }

    public void setAbnormalHandlePersonId(String abnormalHandlePersonId) {
        this.abnormalHandlePersonId = abnormalHandlePersonId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTestCode() {
        return testCode;
    }

    public void setTestCode(String testCode) {
        this.testCode = testCode;
    }

    public String getTestName() {
        return testName;
    }

    public void setTestName(String testName) {
        this.testName = testName;
    }

    public String getTestCatCode() {
        return testCatCode;
    }

    public void setTestCatCode(String testCatCode) {
        this.testCatCode = testCatCode;
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getCycleHours() {
        return cycleHours;
    }

    public void setCycleHours(String cycleHours) {
        this.cycleHours = cycleHours;
    }

    public String getTesterId() {
        return testerId;
    }

    public void setTesterId(String testerId) {
        this.testerId = testerId;
    }

    public String getTesterName() {
        return testerName;
    }

    public void setTesterName(String testerName) {
        this.testerName = testerName;
    }

    public String getCreatedById() {
        return createdById;
    }

    public void setCreatedById(String createdById) {
        this.createdById = createdById;
    }

    public String getCreatedByName() {
        return createdByName;
    }

    public void setCreatedByName(String createdByName) {
        this.createdByName = createdByName;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public String getCreatedByOrgId() {
        return createdByOrgId;
    }

    public void setCreatedByOrgId(String createdByOrgId) {
        this.createdByOrgId = createdByOrgId;
    }

    public String getCreatedByOrgName() {
        return createdByOrgName;
    }

    public void setCreatedByOrgName(String createdByOrgName) {
        this.createdByOrgName = createdByOrgName;
    }

}
